<template>
  <div class="scrolls" :style="`height:${height}%`"><slot/></div>
</template>

<script>
export default {
  name:"scroll",
  props:{
    height:{
      type:[String,Number],
      default:85
    }
  }
}
</script>

<style lang="scss" scoped>
.scrolls{
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}
</style>